using System.ComponentModel.DataAnnotations;
using System.Data.Entity.ModelConfiguration;
using Planisoft.Entities;


namespace Planisoft.DAO.Mapping
{
    public class PlantillaIngresoMap : EntityTypeConfiguration<PlantillaIngreso>
    {
        public PlantillaIngresoMap()
        {
            // Primary Key
            this.HasKey(t => t.IdIngreso);
            
            // Properties
            

            // Table & Column Mappings
            this.ToTable("PlantillaIngreso");
            this.Property(t => t.IdIngreso).HasColumnName("IdIngreso");
            this.Property(t => t.IdIngresoSunat).HasColumnName("IdIngresoSunat");
            this.Property(t => t.DescPersoIngreso).HasColumnName("DescPersoIngreso");
            this.Property(t => t.Indicador).HasColumnName("Indicador");

            
        }
    }
}
